<?php
header("Content-Type: text/html;charset=utf-8");
include_once 'jdbc.php';
$sql = "SELECT * FROM students where 1=1";
$result = $conn->query($sql);
$re=array();
while ($row = $result->fetch_assoc()){
    $re[]=$row;
}
echo json_encode($re,JSON_UNESCAPED_UNICODE) ;




